package com.jing.weibo.mapper.ranking;

import java.util.List;

import com.jing.weibo.pojo.ranking.UserComment;
import com.jing.weibo.pojo.ranking.UserCommentFans;


/**
 * 用户评论的Mapper
 * @author jing.yue
 * @version 2012/10/18 1.0.0
 */
public interface UserCommentMapper {

	/**
	 * 保存用户微博评论信息
	 * @param userComment
	 * @throws Exception
	 */
	public abstract void saveUserComment(UserComment userComment) throws Exception;

	/**
	 * 查询用户评论
	 * @param userComment
	 * @return
	 * @throws Exception
	 */
	public abstract UserComment findByUserComment(UserComment userComment) throws Exception;

	/**
	 * 分页根据@或评论统计用户评论的排行信息
	 * @param userComment
	 * @return
	 * @throws Exception
	 */
	public abstract List<UserCommentFans> findStatisUserCommentFans(UserComment userComment) throws Exception;

	/**
	 * 分页根据@或评论统计用户评论的排行信息记录数
	 * @param userComment
	 * @return
	 * @throws Exception
	 */
	public abstract Integer findStatisUserCommentFansCount(UserComment userComment) throws Exception;

}